<?php
/**
 * 站点配置
 * 
 * @author:  will.lee <im.will.lee@gmail.com>
 * @version: 1.0
 */
 return array
 (
    // 网站基本信息
    'Basic' => array
    (
        'title'                 => 'CMS.MINE',
    ),
    'Config'=> array
    (
        // 允许上传图片类型
        'image_allow_exts'      => array('png','gif','jpg','jpeg','bmp'),
        // 图片上传限制 k
        'image_max_size'        => 2046,
        // 允许上传附件类型
        'attachment_allow_exts' => array('zip','txt'),
        // 附件上传限制 k
        'attachment_max_size'   => 2046,
    ),
    // 头像设置
    'Image' => array
    (
        'thumb'=> array
        (
            // 默认图片
            'no_image'  => '/statics/upload/images/no_image/thumb.jpg',
            'view_path' => '/statics/upload/icon/thumb/',
            // 保存路径
            'save_path' => WWW_ROOT.'statics'.DS.'upload'.DS.'icon'.DS.'thumb'.DS,
            'width'     => 120,
            'height'    => 120
        )
    )
 );